home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / SQL and Data Base / Logic Works ERwin 3.5 / data.1 / ERTMPL32.DLL / RCDATA / 1824 < prev    next >
Unknown  |  1998-01-30  |  821 b 

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 43 55 53 54 4f 4d 20 54 | 52 49 47 47 45 52 20 44 |CUSTOM T|RIGGER D|
|00000010| 45 46 41 55 4c 54 20 42 | 4f 44 59 00 63 72 65 61 |EFAULT B|ODY.crea|
|00000020| 74 65 20 74 72 69 67 67 | 65 72 20 25 54 72 69 67 |te trigg|er %Trig|
|00000030| 67 65 72 4e 61 6d 65 0d | 0a 20 20 25 46 69 72 65 |gerName.|. %Fire|
|00000040| 20 25 41 63 74 69 6f 6e | 0d 0a 20 20 6f 6e 20 25 | %Action|.. on %|
|00000050| 54 61 62 6c 65 4e 61 6d | 65 0d 0a 20 20 25 52 65 |TableNam|e.. %Re|
|00000060| 66 43 6c 61 75 73 65 0d | 0a 20 20 25 53 63 6f 70 |fClause.|. %Scop|
|00000070| 65 0d 0a 2d 2d 20 45 52 | 77 69 6e 20 42 75 69 6c |e..-- ER|win Buil|
|00000080| 74 69 6e 20 25 44 61 74 | 65 74 69 6d 65 20 0d 0a |tin %Dat|etime ..|
|00000090| 2d 2d 20 64 65 66 61 75 | 6c 74 20 62 6f 64 79 20 |-- defau|lt body |
|000000a0| 66 6f 72 20 25 54 72 69 | 67 67 65 72 4e 61 6d 65 |for %Tri|ggerName|
|000000b0| 20 0d 0a 62 65 67 69 6e | 0d 0a 20 20 64 65 63 6c | ..begin|.. decl|
|000000c0| 61 72 65 20 6e 75 6d 72 | 6f 77 73 20 49 4e 54 45 |are numr|ows INTE|
|000000d0| 47 45 52 3b 0d 0a 20 20 | 64 65 63 6c 61 72 65 20 |GER;.. |declare |
|000000e0| 70 61 72 65 6e 74 5f 75 | 70 64 72 73 74 72 63 74 |parent_u|pdrstrct|
|000000f0| 5f 65 72 72 20 45 58 43 | 45 50 54 49 4f 4e 20 46 |_err EXC|EPTION F|
|00000100| 4f 52 20 53 51 4c 53 54 | 41 54 45 20 56 41 4c 55 |OR SQLST|ATE VALU|
|00000110| 45 20 27 50 61 72 65 6e | 74 20 55 70 64 61 74 65 |E 'Paren|t Update|
|00000120| 20 52 65 73 74 72 69 63 | 74 27 3b 0d 0a 20 20 64 | Restric|t';.. d|
|00000130| 65 63 6c 61 72 65 20 63 | 68 69 6c 64 5f 75 70 64 |eclare c|hild_upd|
|00000140| 72 73 74 72 63 74 5f 65 | 72 72 20 45 58 43 45 50 |rstrct_e|rr EXCEP|
|00000150| 54 49 4f 4e 20 46 4f 52 | 20 53 51 4c 53 54 41 54 |TION FOR| SQLSTAT|
|00000160| 45 20 56 41 4c 55 45 20 | 27 43 68 69 6c 64 20 55 |E VALUE |'Child U|
|00000170| 70 64 61 74 65 20 52 65 | 73 74 72 69 63 74 27 3b |pdate Re|strict';|
|00000180| 0d 0a 20 20 64 65 63 6c | 61 72 65 20 70 61 72 65 |.. decl|are pare|
|00000190| 6e 74 5f 64 65 6c 72 73 | 74 72 63 74 5f 65 72 72 |nt_delrs|trct_err|
|000001a0| 20 45 58 43 45 50 54 49 | 4f 4e 20 46 4f 52 20 53 | EXCEPTI|ON FOR S|
|000001b0| 51 4c 53 54 41 54 45 20 | 56 41 4c 55 45 20 27 50 |QLSTATE |VALUE 'P|
|000001c0| 61 72 65 6e 74 20 44 65 | 6c 65 74 65 20 52 65 73 |arent De|lete Res|
|000001d0| 74 72 69 63 74 27 3b 0d | 0a 20 20 64 65 63 6c 61 |trict';.|. decla|
|000001e0| 72 65 20 63 68 69 6c 64 | 5f 64 65 6c 72 73 74 72 |re child|_delrstr|
|000001f0| 63 74 5f 65 72 72 20 45 | 58 43 45 50 54 49 4f 4e |ct_err E|XCEPTION|
|00000200| 20 46 4f 52 20 53 51 4c | 53 54 41 54 45 20 56 41 | FOR SQL|STATE VA|
|00000210| 4c 55 45 20 27 43 68 69 | 6c 64 20 44 65 6c 65 74 |LUE 'Chi|ld Delet|
|00000220| 65 20 52 65 73 74 72 69 | 63 74 27 3b 0d 0a 20 20 |e Restri|ct';.. |
|00000230| 64 65 63 6c 61 72 65 20 | 70 61 72 65 6e 74 5f 69 |declare |parent_i|
|00000240| 6e 73 72 73 74 72 63 74 | 5f 65 72 72 20 45 58 43 |nsrstrct|_err EXC|
|00000250| 45 50 54 49 4f 4e 20 46 | 4f 52 20 53 51 4c 53 54 |EPTION F|OR SQLST|
|00000260| 41 54 45 20 56 41 4c 55 | 45 20 27 50 61 72 65 6e |ATE VALU|E 'Paren|
|00000270| 74 20 49 6e 73 65 72 74 | 20 52 65 73 74 72 69 63 |t Insert| Restric|
|00000280| 74 27 3b 0d 0a 20 20 64 | 65 63 6c 61 72 65 20 63 |t';.. d|eclare c|
|00000290| 68 69 6c 64 5f 69 6e 73 | 72 73 74 72 63 74 5f 65 |hild_ins|rstrct_e|
|000002a0| 72 72 20 45 58 43 45 50 | 54 49 4f 4e 20 46 4f 52 |rr EXCEP|TION FOR|
|000002b0| 20 53 51 4c 53 54 41 54 | 45 20 56 41 4c 55 45 20 | SQLSTAT|E VALUE |
|000002c0| 27 43 68 69 6c 64 20 49 | 6e 73 65 72 74 20 52 65 |'Child I|nsert Re|
|000002d0| 73 74 72 69 63 74 27 3b | 0d 0a 25 46 6f 72 45 61 |strict';|..%ForEa|
|000002e0| 63 68 43 68 69 6c 64 52 | 65 6c 28 29 20 7b 0d 0a |chChildR|el() {..|
|000002f0| 20 20 25 52 65 6c 54 65 | 6d 70 6c 61 74 65 0d 0a | %RelTe|mplate..|
|00000300| 7d 0d 0a 25 46 6f 72 45 | 61 63 68 50 61 72 65 6e |}..%ForE|achParen|
|00000310| 74 52 65 6c 28 29 20 7b | 0d 0a 20 20 25 52 65 6c |tRel() {|.. %Rel|
|00000320| 54 65 6d 70 6c 61 74 65 | 0d 0a 7d 0d 0a 65 6e 64 |Template|..}..end|
|00000330| 0d 0a 00 30 27 | |...0' | |
+--------+-------------------------+-------------------------+--------+--------+